﻿using Project.Ycm20250401.Service._20250418.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Ycm20250401.Service._20250418.Domain.IRepository
{
    public interface IUserBankRepository
    {
        /// <summary>
        /// 根据用户Id获取用户银行信息
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        Task<UserBank> GetUserBankByUserId(string userId);
        /// <summary>
        /// 保存用户银行信息
        /// </summary>
        /// <param name="userBank"></param>
        /// <returns></returns>
        Task<bool> SaveUserBank(UserBank userBank);
    }
}
